package com.task.core.dto.request;

import java.util.Date;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.task.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 迪迦.
 * @date 2024/9/18 11:24
 */
@Data
public class DataFileUploadRequestDTO extends BaseEntity {

  private MultipartFile file;

  @ApiModelProperty("来源,上传什么类型的文件,SCRIPT/DATA/REFERER")
  private String fileType;

  @ApiModelProperty("dataSourceCode, 上传数据文件时需要指定dataSourceCode")
  private String dataSourceCode;

  private String suffix;

  private String fileName;

  @ApiModelProperty("需要清除记录的fileCode")
  private List<String> fileCodes;

}
